package adapterPattern;

public class Computer {

    // 读卡
    public String readSD(SDCard sdCard){
        if (sdCard == null) {
            throw new NullPointerException("sd card null");
        }
        return sdCard.readSD();
    }
}
